<!DOCTYPE html>
<html>
<head>
    <title>箱子管理系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="/css/bootstrap.min.css" rel="stylesheet" media="screen">
    <link href="/css/bootstrap-responsive.css" rel="stylesheet" media="screen">
    <link rel="stylesheet" type="text/css" href="/css/style.css">
    <script src="/lib/jq/jquery-2.1.1.min.js"></script>
    <script src="/lib/jq/bootstrap.min.js"></script>
    <script type="text/javascript" src="/js/jquery.qrcode.min.js"></script>
    <script type="text/javascript" src="/js/update_pwd.js"></script>
</head>
<body style="margin:15px;">
<div id="lert"></div>
<% if (success) { %>
<div class="alert alert-success">
    <h4><%= success %></h4>
</div>
<% } %>
<% if (error) { %>
<div class="alert alert-error">
    <h4><%= error %></h4>
</div>
<% } %>
<legend>修改密码</legend>
<form onsubmit="return check()" style="margin-left: 25%" action="/user_system/user_update_pwd" method="post" name="form1" class="form-horizontal">
    <div class="control-group">
        <label class="control-label">旧密码：</label>
        <div class="controls">
            <input type="password" id="opwd" name="opwd" />
            <input type="hidden" name="account" value="<%=account%>"/>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">新密码：</label>
        <div class="controls">
            <input type="password" id="npwd1" name="npwd1" />
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">重复新密码：</label>
        <div class="controls">
            <input type="password" id="npwd2" name="npwd2" />
        </div>
    </div>
    <div class="control-group">
        <div class="controls">
            <input type="submit" style="width:55px;height:30px;background-color:#DBDBDB;border:1px solid #DBDBDB;border-radius:3px;" value="修改" id="sub_btn">
        </div>
    </div>
</form>
</body>
</html>